package com.bdqn.design;

import com.bdqn.design.singleton.Singleton04;

/**
 * TestSingleton04
 *
 * @author LILIBO
 * @since 2023-10-25
 */
public class TestSingleton04 {

    public static void main(String[] args) {
        Singleton04 singletonOne = Singleton04.getInstance();
        System.out.println(singletonOne.next());
        Singleton04 singletonTwo = Singleton04.getInstance();
        System.out.println(singletonTwo.next());
    }

}
